<html><head>
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
   <title>Deleting a route</title><link rel="stylesheet" type="text/css" href="eclipse_book.css"><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="Red Hat Fuse Tooling"><link rel="up" href="RiderEditRoute.html" title="Editing a routing context in the route editor"><link rel="prev" href="RiderDevPart.html" title="Developing Applications"><link rel="next" href="RiderCamelDebugger.html" title="Debugging Routing Contexts"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="RiderRemoveRoute"></a>Deleting a route</h3></div></div></div><div class="simplesect"><div class="titlepage"><div><div><h4 class="title"><a name="_overview_6"></a>Overview</h4></div></div></div><p>In some cases you made need to delete an entire route from your routing context. The Route
container&#8217;s
<span class="inlinemediaobject"><img src="./images/garbageIcon.png" alt="garbageIcon"></span> icon makes this easy to do. When you delete a route, all of the
nodes inside the Route container are also deleted, and the corresponding route element in the context file is removed.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="imagesdb/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"><p>You can also remove a route using the Route container&#8217;s context menu and selecting
<span class="strong"><strong>Remove</strong></span>.</p></td></tr></table></div><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Important"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="imagesdb/important.png"></td><th align="left">Important</th></tr><tr><td align="left" valign="top"><p>You cannot undo this operation.</p></td></tr></table></div></div><div class="simplesect"><div class="titlepage"><div><div><h4 class="title"><a name="_procedure_5"></a>Procedure</h4></div></div></div><p>To delete a route:</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p class="simpara">If the routing context contains more than one route, first select the route you want
to delete in the <span class="strong"><strong>Project Explorer</strong></span> view.</p><div class="informalfigure"><div class="mediaobject"><img src="./images/routeEntriesProjectExplorer.png" alt="routeEntriesProjectExplorer"></div></div></li><li class="listitem"><p class="simpara">On the canvas, click the Route container&#8217;s
<span class="inlinemediaobject"><img src="./images/garbageIcon.png" alt="garbageIcon"></span> icon.</p><div class="informalfigure"><div class="mediaobject"><img src="./images/routeDelete.png" alt="routeDelete"></div></div></li><li class="listitem">Click <span class="strong"><strong>Yes</strong></span> when asked if you are sure you want to delete
this element.</li></ol></div><p>The route is removed from the canvas, from the context file, and from the
<span class="strong"><strong>Project Explorer</strong></span> view.</p></div></div></body></html>